package com.huikeportal.dao;

import java.util.List;
import com.huikeportal.model.MenuInfo;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.UserInfo;
import com.huikeportal.model.WordBook;
import com.huikeportal.model.common.SqlParameter;

public interface LoginMapper {

	UserInfo getUserByName(UserInfo userInfo) throws Exception;

	List<MenuInfo> getMenuPermission(UserInfo userInfo) throws Exception;

	List<MenuInfo> getMenuList(String string) throws Exception;

	List<MenuInfo> getChildMenuList(String string) throws Exception;

	List<MenuInfo> getMenuListByType(SqlParameter sql) throws Exception;

	List<String> getSitePerById(String userId) throws Exception;

	String getSiteFa(String siteId) throws Exception;

	Long getAdminRoleId() throws Exception;

	List<String> selectFirstPageUrl(SqlParameter sqlParameter) throws Exception;

	List<SiteAllInfo> queryUserSiteList(UserInfo userInfo) throws Exception;

	List<SiteAllInfo> getDpListByGc(String siteId) throws Exception;

	List<SiteAllInfo> getLcListByGc(String siteId) throws Exception;

	List<SiteAllInfo> getQyListByGc(String siteId) throws Exception;

	List<WordBook> getUserButtonList(SqlParameter sql) throws Exception;

	List<SiteAllInfo> getGcByDp(String string) throws Exception;
}
